{port_specs, [
    {"../../priv/khash.so", ["*.c"]}
]}.

{port_env, [
    % Development compilation
    % {".*", "CFLAGS", "$CFLAGS -g -Wall -Werror -fPIC"}

    % Production compilation
    {"(linux|solaris|darwin|freebsd)", "CFLAGS", "$CFLAGS -Wall -Werror -DNDEBUG -O3"},
    {"win32", "CFLAGS", "$CFLAGS /O2 /DNDEBUG /Wall"}
]}.
